library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;
use IEEE.NUMERIC_STD.ALL;


entity colorswitch is
  port(
			switches 		: in std_logic_vector(8 downto 0);
			colour			: out std_logic_vector(11 downto 0)
		 );
end colorswitch;

architecture Behavioral of colorswitch is

begin

	process(switches)
	begin
	
	colour <= switches(8 downto 6)&'0'&switches(5 downto 3)&'0'&switches(2 downto 0)&'0';
	
	end process;

end Behavioral;